import { Module } from '@nestjs/common';
import { ChannelService } from './channel.service';
import { ChannelController } from './channel.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Channel } from './channel.entity';
import { DeptModule } from 'src/dept/dept.module';

@Module({
  imports: [
    DeptModule,
    TypeOrmModule.forFeature([Channel])
  ],
  providers: [ChannelService],
  controllers: [ChannelController]
})
export class ChannelModule { }
